<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../images/favicon.ico">

    <title>洲博通 - Dashboard  Nestable </title>
  
	<!-- Bootstrap 4.0-->
	<link rel="stylesheet" href="../../../assets/vendor_components/bootstrap/dist/css/bootstrap.min.css">
	
	<!-- Bootstrap extend-->
	<link rel="stylesheet" href="../../css/bootstrap-extend.css">
	
    <!--nestable CSS -->
    <link href="../../../assets/vendor_components/nestable/nestable.css" rel="stylesheet" type="text/css" />

	<!-- Theme style -->
	<link rel="stylesheet" href="../../css/master_style.css">

	<!-- 洲博通 skins -->
	<link rel="stylesheet" href="../../css/skins/_all-skins.css">	

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
	<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->

</head>
<body class="sidebar-collapse skin-blue sidebar-mini">
  <b data-toggle="push-menu" style="display:none"></b>
<!-- Site wrapper -->
<div class="wrapper">



  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Nestable
      </h1>
      <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="breadcrumb-item"><a href="#">UI</a></li>
        <li class="breadcrumb-item active">Nestable</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
		<div class="row">
			<div class="col-md-4">
			<!-- Default box -->
			  <div class="box">
				<div class="box-header with-border">
				  <h3 class="box-title">Nestable 1</h3>
				</div>
				<div class="box-body">
					<div class="myadmin-dd dd" id="nestable">
						<ol class="dd-list">
							<li class="dd-item" data-id="1">
								<div class="dd-handle"> Item 1 </div>
							</li>
							<li class="dd-item" data-id="2">
								<div class="dd-handle"> Item 2 </div>
								<ol class="dd-list">
									<li class="dd-item" data-id="3">
										<div class="dd-handle"> Item 3 </div>
									</li>
									<li class="dd-item" data-id="4">
										<div class="dd-handle"> Item 4 </div>
									</li>
									<li class="dd-item" data-id="5">
										<div class="dd-handle"> Item 5 </div>
										<ol class="dd-list">
											<li class="dd-item" data-id="6">
												<div class="dd-handle"> Item 6 </div>
											</li>
											<li class="dd-item" data-id="7">
												<div class="dd-handle"> Item 7 </div>
											</li>
											<li class="dd-item" data-id="8">
												<div class="dd-handle"> Item 8 </div>
											</li>
										</ol>
									</li>
									<li class="dd-item" data-id="9">
										<div class="dd-handle"> Item 9 </div>
									</li>
									<li class="dd-item" data-id="10">
										<div class="dd-handle"> Item 10 </div>
									</li>
								</ol>
							</li>
						</ol>
					</div>
				</div>
			</div>
		</div>			
		<div class="col-md-4 col-12">
			<!-- Default box -->
			  <div class="box">
				<div class="box-header with-border">
				  <h3 class="box-title">Nestable 2</h3>
				</div>
				<div class="box-body">
					<div class="myadmin-dd-empty dd" id="nestable2">
						<ol class="dd-list">
							<li class="dd-item dd3-item" data-id="13">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 13 </div>
							</li>
							<li class="dd-item dd3-item" data-id="14">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 14 </div>
							</li>
							<li class="dd-item dd3-item" data-id="14">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 16 </div>
							</li>
							<li class="dd-item dd3-item" data-id="14">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 17 </div>
							</li>
							<li class="dd-item dd3-item" data-id="14">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 18 </div>
							</li>
							<li class="dd-item dd3-item" data-id="14">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 19 </div>
							</li>
							<li class="dd-item dd3-item" data-id="15">
								<div class="dd-handle dd3-handle"></div>
								<div class="dd3-content"> Item 15 </div>
								<ol class="dd-list">
									<li class="dd-item dd3-item" data-id="16">
										<div class="dd-handle dd3-handle"></div>
										<div class="dd3-content"> Item 16 </div>
									</li>
									<li class="dd-item dd3-item" data-id="17">
										<div class="dd-handle dd3-handle"></div>
										<div class="dd3-content"> Item 17 </div>
									</li>
									<li class="dd-item dd3-item" data-id="18">
										<div class="dd-handle dd3-handle"></div>
										<div class="dd3-content"> Item 18 </div>
									</li>
								</ol>
							</li>
						</ol>
					</div>
				</div>
				<!-- /.box-body -->
			  </div>
			<!-- /.box -->
		</div>
		
		<div class="col-md-4 col-12">
			<!-- Default box -->
			  <div class="box">
				<div class="box-header with-border">
				  <h3 class="box-title">Nestable 3</h3>
				</div>
				<div class="box-body">
					<div class="dd myadmin-dd" id="nestable-menu">
						<ol class="dd-list">
							<li class="dd-item" data-id="13">
								<div class="dd-handle">Item 13</div>
							</li>
							<li class="dd-item" data-id="13">
								<div class="dd-handle">Item 13</div>
							</li>
							<li class="dd-item" data-id="14">
								<div class="dd-handle">Item 14</div>
							</li>
							<li class="dd-item" data-id="15">
								<div class="dd-handle">Item 15</div>
								<ol class="dd-list">
									<li class="dd-item" data-id="16">
										<div class="dd-handle">Item 16</div>
									</li>
									<li class="dd-item" data-id="17">
										<div class="dd-handle">Item 17</div>
									</li>
									<li class="dd-item" data-id="18">
										<div class="dd-handle">Item 18</div>
									</li>
									<li class="dd-item" data-id="16">
										<div class="dd-handle">Item 19</div>
									</li>
									<li class="dd-item" data-id="17">
										<div class="dd-handle">Item 20</div>
									</li>
									<li class="dd-item" data-id="18">
										<div class="dd-handle">Item 21</div>
									</li>
								</ol>
							</li>
						</ol>
					</div>
				</div>
				<!-- /.box-body -->
			  </div>
			<!-- /.box -->
		  </div>
		</div>
    </section>
    <!-- /.content -->
  </div>





</div>
<!-- ./wrapper -->


	<!-- jQuery 3 -->
	<script src="../../../assets/vendor_components/jquery/dist/jquery.min.js"></script>
	
	<!-- popper -->
	<script src="../../../assets/vendor_components/popper/dist/popper.min.js"></script>
	
	<!-- Bootstrap 4.0-->
	<script src="../../../assets/vendor_components/bootstrap/dist/js/bootstrap.min.js"></script>
	
    <!--Nestable js -->
    <script src="../../../assets/vendor_components/nestable/jquery.nestable.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // Nestable
            var updateOutput = function (e) {
                var list = e.length ? e : $(e.target)
                    , output = list.data('output');
                if (window.JSON) {
                    output.val(window.JSON.stringify(list.nestable('serialize'))); //, null, 2));
                }
                else {
                    output.val('JSON browser support required for this demo.');
                }
            };
            $('#nestable').nestable({
                group: 1
            }).on('change', updateOutput);
            $('#nestable2').nestable({
                group: 1
            }).on('change', updateOutput);
            updateOutput($('#nestable').data('output', $('#nestable-output')));
            updateOutput($('#nestable2').data('output', $('#nestable2-output')));
            $('#nestable-menu').on('click', function (e) {
                var target = $(e.target)
                    , action = target.data('action');
                if (action === 'expand-all') {
                    $('.dd').nestable('expandAll');
                }
                if (action === 'collapse-all') {
                    $('.dd').nestable('collapseAll');
                }
            });
            $('#nestable-menu').nestable();
        });
    </script>
	
	<!-- SlimScroll -->
	<script src="../../../assets/vendor_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
	
	<!-- FastClick -->
	<script src="../../../assets/vendor_components/fastclick/lib/fastclick.js"></script>
	
	<!-- 洲博通 App -->
	<script src="../../js/template.js"></script>
	
	<!-- 洲博通 for demo purposes -->
	<script src="../../js/demo.js"></script>
	

</body>
</html>
